package edu.zut.cs.software.estateagent.visitor.service.impl;

import javax.transaction.Transactional;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import edu.zut.cs.software.base.service.impl.GenericManagerImpl;
import edu.zut.cs.software.estateagent.visitor.dao.VisithistoryDao;
import edu.zut.cs.software.estateagent.visitor.domain.Visithistory;
import edu.zut.cs.software.estateagent.visitor.service.VisithistoryManager;

@Component
@Transactional
public class VisithistoryManagerImpl extends GenericManagerImpl<Visithistory, Long> implements VisithistoryManager {

	VisithistoryDao requirementDao;

    @Override
    public Visithistory findbyUsername(String username) {
        // TODO Auto-generated method stub
        return null;
    }

    @Autowired
    public void setRequirementDao(VisithistoryDao requirementDao) {
        this.requirementDao = requirementDao;
        this.dao = this.requirementDao;
    }

}